package com.hzw.saas.service.ds.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.api.ds.enums.ClientTypeEnum;
import com.hzw.saas.common.config.model.BaseLogicModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
    * 客户端同步配置
    */
@ApiModel(value="客户端同步配置")
@Data
@EqualsAndHashCode(callSuper=true)
@Accessors(chain = true)
@TableName(value = "tb_sync_config")
public class SyncConfig extends BaseLogicModel {
    private static final long serialVersionUID = -2086038518025413939L;
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value="用户id")
    private String userId;

    /**
     * 忽略的规则
     */
    @TableField(value = "ignore_rule")
    @ApiModelProperty(value="忽略的规则")
    private String ignoreRule;

    /**
     * 允许的规则
     */
    @TableField(value = "allow_rule")
    @ApiModelProperty(value="允许的规则")
    private String allowRule;

    /**
     * 客户端类型 ds:Device Studio
     */
    @TableField(value = "client_type")
    @ApiModelProperty(value="客户端类型 ds:Device Studio")
    private ClientTypeEnum clientType;
}